import java.util.*;

class controleMain1{

    public static void main(String[] args) {
       paircov p = new paircov();
       String[] x1 = {"Paris","Lyon","Grenoble"};
       String[] x2 = {"Lille","Annecy","Lyon"};
       String[] x3 = {"1/1/04","4/4/04","1/8/04"};
       String[] x4 = {"6","17","23"};
       String [] [] tableau = new String[4] [];
       tableau[0] = x1;
       tableau[1] = x2;
       tableau[2] = x3;
       tableau[3] = x4;
       for (int i = 0; i< tableau.length; i++){
	   System.out.print("param "+i+" : ");
	   for (int j = 0; j< tableau[i].length; j++){
	       System.out.print(tableau[i][j]+" ");
	   }
	   System.out.println();
       }
	Date d0 =new Date();	
       Test_Case [] res = p.generate(tableau);
       Date d1 = new Date();
       System.out.println("-----------------------------------------");
       for (int i = 0; i<res.length; i++){
	   System.out.print("Test "+i+" : ");
	   for (int j = 0; j<res[i].get_length();j++){
	       System.out.print(res[i].get_tc(j)+" ");    
	   }
	   System.out.println();
       }
       System.out.println("-----------------------------------------");
       System.out.println("Main1 : "+res.length+ " test cases    time : " + (d1.getTime() - d0.getTime()));
       System.out.println("-----------------------------------------");
    }
}
